<div class="children">
	<div class="box border-top">
    	 <?php foreach ($categories as $category) { ?>
         	<?php if ($category['category_id'] == $category_id) { ?>
            	<div class="hgroup title"><h3><a href="<?php echo $category['href']; ?>" title="<?php echo $category['name']; ?>"><?php echo $category['name']; ?></a></h3></div>
                <ul class="category-list secondary">
                    <?php if ($category['children']) foreach ($category['children'] as $child) { ?>
                        <li><a href="<?php echo $child['href']; ?>" <?php if ($child['category_id'] == $child_id) { ?> class="current" <?php }?>>
                        	<?php echo $child['name']; ?></a>
                        </li>
                    <?php }?>
                </ul>
            <?php }?>
         <?php }?>
    </div>
</div>
<!-- Price filter -->
<div class="price-filter">
    <div class="box border-top">
        <div class="hgroup title">
            <h3><?php echo $text_refine_products ?></h3>
            <h5><?php echo $text_filter_price?></h5>
        </div>
        <div id="slider" data-max="200" data-step="5" data-currency="&pound;"> </div>
            <span id="slider-label">Price range: <strong><span id="price_min"></span> &ndash; <span id="price_max"></span></strong></span>
        </div>
</div>
<!-- End class="price-filter" -->





<?php /*


<div class="list-group">
  <?php foreach ($categories as $category) { ?>
  <?php if ($category['category_id'] == $category_id) { ?>
  <a href="<?php echo $category['href']; ?>" class="list-group-item active"><?php echo $category['name']; ?></a>
  <?php if ($category['children']) { ?>
  <?php foreach ($category['children'] as $child) { ?>
  <?php if ($child['category_id'] == $child_id) { ?>
  <a href="<?php echo $child['href']; ?>" class="list-group-item active">&nbsp;&nbsp;&nbsp;- <?php echo $child['name']; ?></a>
  <?php } else { ?>
  <a href="<?php echo $child['href']; ?>" class="list-group-item">&nbsp;&nbsp;&nbsp;- <?php echo $child['name']; ?></a>
  <?php } ?>
  <?php } ?>
  <?php } ?>
  <?php } else { ?>
  <a href="<?php echo $category['href']; ?>" class="list-group-item"><?php echo $category['name']; ?></a>
  <?php } ?>
  <?php } ?>
</div>
*/ ?>